package com.login.entity;

import java.beans.Transient;
import java.io.Serializable;

public class Users implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String username;
    private String password;
    private String captcha;
 
    public Users() {
        super();
    }
 
    public Users(Integer id, String username, String password,String captcha) {
        super();
        this.id = id;
        this.username = username;
        this.password = password;
        this.captcha=captcha;
        
    }
    
    //@Transient   //不需要持久到DB的属性使用该注解  
    public String getcaptcha() { 
        return captcha; 
    } 
     
    public void setcaptcha(String captcha) { 
        this.captcha = captcha; 
    }
    
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public String getUsername() {
        return username;
    }
 
    public void setUsername(String username) {
        this.username = username;
    }
 
    public String getPassword() {
        return password;
    }
 
    public void setPassword(String password) {
        this.password = password;
    }
 
}